package com.zcy.example.dao;

import com.zcy.example.pojo.SearchResult;
import org.apache.solr.client.solrj.SolrQuery;
import org.apache.solr.client.solrj.SolrServerException;

import java.io.IOException;

/**
 * @author: zcy
 * @data: 16:56 2017/11/3
 */
public interface SearchDao {

    SearchResult search(SolrQuery query) throws IOException, SolrServerException;
}
